import requests


headers = {
    "authority": "699pic.com",
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
    "gee-data": "{\"captcha_id\":\"8e94098fc8fd6286eb4afb663ecece01\",\"lot_number\":\"ca5508fda7454d21a551fd684dae2153\",\"pass_token\":\"789aae238c7effbf5d5cb528681313a1195447a3adb916b97958724ee6d0d16c\",\"gen_time\":\"1709194936\",\"captcha_output\":\"-ZOBkc3sA5ZQAaXNCi3wModKe9kXOQ77RWO_EmNNjCzv8WMzIKrUkooHbEKF5P1nyZqehzmAw2c7hm_zsZMzZQvIMQRg893OOlhXsBawyU2trY1-L2xtzTxq7QOsrxgYPUm1DIgAuind-3sJFhMnxHr8FDFem8Ku17cU2jj1oXOg-Xj0deO70ljuLTEbI_JCEfhnRLYyIuLmzuBeIkWaFUOmmIPe3lVNwxcGRV86bSoQRdvS5WcFYyqU3Uhbs_vfb54h-nkYcELLOC0VEHQaJMXMvG_pa5i_UIr3SISGQcCnjpmYp2XgepQ5VdU6Rd2kp21qxf7DbRj7mhvk3lW17SG9ZMh11UkffZJSg7x9qyqar3BkgG5leHWgEZrXrjGpkpacpXT1mwZJ1M4OfK6wyaqDH-d8YIYq0vGEwAk8c72bOpeCDZYks5V4tHlTRGZf86ZRWAigocwrGK5pPGC46z_3tbt8gTzTbycEyH0KCco=\"}",
    "gee-type": "download",
    "origin": "https://699pic.com",
    "referer": "https://699pic.com/tupian-600737236.html",
    "sec-ch-ua": "\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Linux\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
    "x-requested-with": "XMLHttpRequest"
}
cookies = {
    "PHPSESSID": "454f25c3fb85aa4d51248ea0772de891",
    "uniqid": "65e01b909bc35",
    "act_layer_1": "B",
    "act_layer_2": "B",
    "act_layer_3": "B",
    "act_layer_4": "B",
    "act_layer_5": "A",
    "act_layer_6": "A",
    "act_layer_7": "B",
    "act_layer_9": "B",
    "act_layer_10": "A",
    "act_layer_11": "B",
    "slotMachine1100": "1",
    "FIRSTVISITED": "1709185938.156",
    "user_uniqid": "8795A4E4C457C4C0",
    "s_token": "488bef044ccc1a825d7650184c5d6d9a",
    "Hm_lvt_ddcd8445645e86f06e172516cac60b6a": "1709185939",
    "Hm_lvt_1154154465e0978ab181e2fd9a9b9057": "1709185939",
    "from_data": "YTo4OntzOjQ6Imhvc3QiO3M6MTA6IjY5OXBpYy5jb20iO3M6Mzoic2VtIjtiOjA7czoxMDoic291cmNlZnJvbSI7aTowO3M6NDoid29yZCI7TjtzOjM6ImtpZCI7aTowO3M6ODoic2VtX3R5cGUiO2k6MDtzOjQ6ImZyb20iO2k6MDtzOjY6ImNyZWF0ZSI7czoxOToiMjAyNC0wMi0yOSAxMzo1NTo0NCI7fQ%3D%3D",
    "login_view": "1",
    "Hm_lvt_e37e21a48e66c7bbb5d74ea6f717a49c": "1709186224",
    "index-collectHInt": "1",
    "Hm_lpvt_e37e21a48e66c7bbb5d74ea6f717a49c": "1709190057",
    "acw_tc": "0b68a82a17091943029557169eead1a51dfe1f7bb4de91778d5ab14e5dd0b2",
    "video_time_2": "1709194302",
    "search_video_kw": "%E6%83%8A%E8%9B%B0",
    "search_mode": "video",
    "active1101": "1",
    "vip_video_num": "48",
    "active1101_2": "1",
    "vdetailVisitedTiems": "2",
    "search_list_notice": "0",
    "visited_times": "18",
    "loginboxClose": "12",
    "lastTime": "contact-wx",
    "session_data": "YTo1OntzOjM6InVpZCI7aTo0MjA3MjE4MDtzOjU6InRva2VuIjtzOjMyOiI5OWE5M2M2NjFiMTBhOTc3NzRiOTE0NzM2NDU3OGQ5YSI7czozOiJ1dXQiO3M6MzI6ImI2MTY2MGZiZjViNjdkMzk1ZDAyOThmNjc2YTZlZTE5IjtzOjQ6ImRhdGEiO2E6MTp7czo4OiJ1c2VybmFtZSI7czoxNDoi5pGE5Zu%2BNDIwNzIxODAiO31zOjY6ImV4dGltZSI7aToxNzA5Nzk5NTU5O30%3D",
    "utoken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDk3OTk1NTksIm5iZiI6MTcwOTE5NDc1OSwidmFsIjpbNDIwNzIxODAsIlx1NjQ0NFx1NTZmZTQyMDcyMTgwIl19.INhkLbgvppsnBgKOh-XdXHIv5V-vcl5cHBR9q4MElBM",
    "ureflushtoken": "22d644f76be7535eaff0d5ae1d318bf5ffe2bbadfec67f3b185b36a98467ad65",
    "loginToken_42072180": "fddb440702528a670ae19a40edbc2d69300d852c",
    "newUser": "1",
    "uid": "42072180",
    "username": "%E6%91%84%E5%9B%BE42072180",
    "head_pic": "%2F%2Fstatic.699pic.com%2Fimages%2Fdefault_headpic.png",
    "is_qy_vip": "1",
    "hasPhone": "0",
    "login_user": "1",
    "ISREQUEST": "1",
    "WEBPARAMS": "is_pay=0",
    "agreement_v1": "1",
    "identifyDownAlert": "1",
    "active1100": "1",
    "msg_collect_from42072180": "1",
    "msg_collect_close": "1",
    "msg_collect_status42072180": "3",
    "ResearchPop": "1",
    "enterDetail": "600737236",
    "redirect": "https%3A%2F%2F699pic.com%2Ftupian-600737236.html",
    "referer_page": "detail:index_1",
    "Hm_lpvt_ddcd8445645e86f06e172516cac60b6a": "1709194913",
    "Hm_lpvt_1154154465e0978ab181e2fd9a9b9057": "1709194913",
    "enterDetailDown": "600737236",
    "lastdownload:img:420721801": "600737236"
}
url = "https://699pic.com/download/getDownloadUrl"
data = {
    "pid": "600737236",
    "byso": "0",
    "bycat": "4",
    "comeFrom": "",
    "filetype": "3"
}
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)